const { defineConfig } = require("@vue/cli-service");
const path = require("path");
module.exports = defineConfig({
  transpileDependencies: true,
  css: {
    loaderOptions: {
      less: {
        lessOptions: {
          modifyVars: {
            // 直接覆盖变量
            hack: `true; @import "${path.resolve(
              __dirname,
              "./src/style/theme.less"
            )}";`,
          },
        },
      },
    },
  },
});
